﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class CzPoint
    {
        private double x;
        private double y;
        public double X
        {
            get { return x; }
            set { x = value; }
        }
        public double Y
        {
            get { return y; }
            set { y = value; }
        }
        public CzPoint(double x, double y)
        {
            this.x = x;
            this.y = y;
        }
        public void Move(double dx, double dy)
        {
            x += dx;
            y += dy;
        }
        public static  bool operator==(CzPoint a, CzPoint b)
            {
            return (a.x == b.x) && (a.y == b.y);
            }
        public static bool operator !=(CzPoint a, CzPoint b)
        {
            return (a.x != b.x) || (a.y != b.y);
        }
    }
}
